package com.goktech.olala.server.dao.order;

import com.goktech.olala.server.pojo.order.OrderMaster;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderMasterMapper {
    int deleteByPrimaryKey(Integer orderId);

    int insert(OrderMaster record);

    OrderMaster selectByPrimaryKey(Integer orderId);

    List<OrderMaster> selectAll();

    int updateByPrimaryKey(OrderMaster record);

    //通过用户id/流水号找商品号
    List <OrderMaster> selectOrderId(@Param("customerId") String customerId,@Param("orderSn") String orderSn);

}